package com.yuer.pream.test.cotroller;

import com.yuer.pream.test.cotroller.server.MAiTEstServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 类功能描述：</br>
 *
 * @author yuyahao
 * @version 1.0 </p> 修改时间：</br> 修改备注：</br>
 */
@RestController
@RequestMapping("/hello")
public class MainTestController {

    @Autowired
    MAiTEstServer mAiTEstServer;

    @GetMapping("/values")
    public String helleTest(){
        return mAiTEstServer.test();
    }
}
